package ecitys.gcs

import java.util.Collections.SelfComparable;
import ecitys.util.GcsUtils

class VerbaDeSistema {
	Estabelecimento estabelecimento
	Verba verba
	GcsUtils.VerbaEspecial verbaEspecial
	
	Boolean isVerbaDeSistema(Verba v){
		def result = VerbaDeSistema.countByVerba(v)
		
		(result > 0)
	}

    static constraints = {
		estabelecimento(blank:false, nullable:false)
    }
	
	static mapping = {
		table schema:"gcs"
	}

	
}
